package ylg.cn.com.welecome.littlered.view;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import ylg.cn.com.welecome.R;
import ylg.cn.com.welecome.littlered.view.LoginAnimImageBaseFragment;

/**
 * Created by Administrator on 2017/11/13.
 */

public class LoginAnimImageFristFragment extends LoginAnimImageBaseFragment {
    private ImageView iv_scroll,tv_bg;
    private int mScrollBitmapNomalHeight ;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        ViewGroup view = (ViewGroup) inflater.inflate(R.layout.fragment_welcomanim_image_frist, null);
        iv_scroll = (ImageView) view.findViewById(R.id.iv_scroll);
        tv_bg = (ImageView) view.findViewById(R.id.tv_bg);
        mScrollBitmapHeight = mScrollBitmapNomalHeight;
        Bitmap bmpShield= BitmapFactory.decodeResource(getResources(), R.mipmap.welcomeanim_phone);
        Bitmap bmpScroll= BitmapFactory.decodeResource(getResources(), R.mipmap.welcomeanim_frist_scrollbg);
        return view;
    }
}
